Crate vmm_sys_util
source · [−]Expand description
Collection of modules that provides helpers and utilities used by multiple rust-vmm components.
Modules
Trait and wrapper for working with C defined FAM structures.
Traits for handling file synchronization and length.
The purpose of this module is to provide abstractions for working with metrics in the context of rust-vmm components where there is a strong need to have metrics as an optional feature.
Miscellaneous functions related to getting (pseudo) random numbers and strings.
Wrapper for sending and receiving messages with file descriptors on sockets that accept control messages (e.g. Unix domain sockets).
Wrapper for interpreting syscall exit codes.
Structure for handling temporary directories.
Struct for handling temporary files as well as any cleanup required.
Traits for replacing a range with a hole and writing zeroes in a file.
Macros
Generate FamStruct
implementation for structs with flexible array member.
Declare an ioctl that transfers no data.
Declare a function that returns an ioctl number.
Declare an ioctl that reads data.
Declare an ioctl that writes data.
Declare an ioctl that reads and writes data.